run Python file in terminal step by step